import React , { Component } from 'react';

import Toolbar from './toolbar.jsx';
import { ThemeContext } from './createContext';    //引入
class View extends React.Component {
  render() {

    return (
        /*<React.Fragment>

            <Toolbar theme="dark" />
        </React.Fragment>*/
        <ThemeContext.Provider value="dark">
           <Toolbar />
        </ThemeContext.Provider>
    )
  }
}


export default View;
